home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip Aralık 2001.iso / prog / desktop / dopewars / setup.exe / example-cfg.txt < prev    next >
Encoding:
Text File  |  2001-04-29  |  1.3 KB  |  46 lines

  1. # Anything after a '#' symbol on the same line is treated as a comment
  2. # and is ignored
  3.  
  4. /* Multi-line comments are also possible, if this C-style syntax is used to
  5.    denote their starting and finishing points
  6.    N.B. Whitespace (tabs, space characters) is ignored, as are line breaks
  7.         (except for the purpose of terminating '#'-style comments) */
  8.  
  9. # An example of setting a numerical value
  10. MaxClients= 6
  11.  
  12. /* An example of setting a string (text) value (all strings should be quoted -
  13.    double-quotes can also be used, but these interpret C-style escape
  14.    sequences (like \t for a tab character) and so should be avoided, e.g, for
  15.    Windows path names) */
  16. HiScoreFile= '/var/lib/games/dopewars.sco'
  17.  
  18. # An example of setting a string list value
  19. StoppedTo = { 'drink a beer', 'visit a friend',
  20.               'smoke a cigar' }
  21.  
  22. StartCash=2000000  # Start each player with $2million
  23. StartDebt=0
  24. Port=7904
  25. Pager='less'
  26. NumLocation=6
  27. Location[1].Name='Oxford'
  28. Location[2].Name='London'
  29. Location[3].Name='Birmingham'
  30. Location[4].Name='Manchester'
  31. Location[5].Name='Edinburgh'
  32. Location[6].Name='Milton Keynes'
  33.  
  34. Drug[1].Name='Smarties'
  35. Drug[1].Cheap=0
  36. Drug[1].Expensive=1
  37. Drug[1].MinPrice=5000
  38. Drug[1].MaxPrice=50000
  39.  
  40. Gun[2].Name='Uzi 9mm'
  41. Gun[2].Price=500000
  42. Gun[2].Space=20
  43. Gun[2].Damage=50
  44.  
  45. DrugSortMethod=3
  46.